#ifndef REPORTE_DAZZLING_H
#define REPORTE_DAZZLING_H

#include <stdio.h>
#include <stdlib.h>
#include <string.h>

#include "freertos/FreeRTOS.h"
#include "freertos/task.h"
#include "freertos/queue.h"

#include "../LOG.h"
#include "../arch_os.h"
#include "../system_Config.h"
#include "../Product_Config.h"

#include "report_config.h"

#include "../mode_Config/mode_status_handle.h"
#include "../mode_Config/mode_scene_config.h"
#include "../mode_Config/mode_part_config.h"
#include "../mode_Config/cw_brighness_config.h"
#include "../mode_Config/mode_micro_config.h"
#include "../mode_Config/direction_turn_on_config.h"

typedef struct 
{
    EM_SYS_SSP main_ssp; //保存当前状态
    EM_SCENE_SSP scene_mode; //场景模式
    CW_BRIGHNESS cw_date_config; //CW模式相关
    PART_INFO_T custom_part; //自定义分段信息
    PART_INFO_T part_info; //分段信息
    u8 micro_senst; //麦克风灵敏度
    EM_MICRO_SSP spectral_mode; //麦克风子模式
    u8 set_Direction; //方向设置
}iot_dazzling_info_t; //上报函数结构体

#define IOT_REPORTE_SPEED_MS 20
void task_iot_report_init(); //上报函数初始化
void iot_report_init(); //上报处理函数 可作为查询指令使用





#endif